import java.util.*;
class LAB6_2
{
	public static void main(String[] args) 
	{
		Scanner in = new Scanner(System.in);
		System.out.print("Pleach input Name:");
		String x = in.nextLine();
		int i,j;
		i = x.length();
		i -=1;
		String d=""; 
		for(j=i;j>=0;j--)
		{
			char n = x.charAt(j);
			d=d+n;
		}
		System.out.print("name return is "+d);

	}
}
